import { request } from '@/utils/request'
// 获取收益明细列表
export const getIncomeListAPI = object => request('admin/user/ProfitLog/index', 'post', { data: object })

// 获取激活奖励列表
export const getActivateListAPI = object => request('admin/brand/ActivationRebateLog/index', 'post', { data: object })

// 下发
export const issueAPI = id => request('admin/brand/ActivationRebateLog/provideActivation', 'post', { data: id })

// 获取全民分红列表
export const getCivilianListAPI = id => request('admin/user/Dividend/getData', 'post', { data: id })

// 获取全民分红详情列表
export const getCivilianDetailListAPI = object => request('admin/user/Dividend/getLists', 'post', { data: object })

export const getTypeOptionAPI = id => request('admin/common/widget/profitTypeList', 'get', { params: id })
